/*
 * HttpClient.h
 *
 *  Created on: 19.07.2011
 *      Author: sili
 */

#ifndef HTTPCLIENT_H_
#define HTTPCLIENT_H_

#include <curl/curl.h>

#include "Controller.h"
#include "SystemFactory.h"
#include "Tools.h"

class HttpClient : public ActionListener, cThread{
private:
	Controller * controller;
	vector<AALAction *> actions;
protected:
	virtual void Action(void);
public:
	HttpClient(Controller * _controller);
	virtual ~HttpClient();

	/**
	 * OVERWRITE
	 * I'm an ActionListener
	 */
	void doAction(AALAction * _action);
	void doMainSavedAction();
};
#endif /* HTTPCLIENT_H_ */
